package com.carsystems.mapper;

import com.carsystems.pojo.Tip;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TipMapper {
    List<Tip> querTipList();

    Tip querTipByPrimaryKey(Integer ts_id);

    Integer addTip(Tip tip);

    Integer updateTip(Tip tip);

    int deleteTip(Integer ts_id);
}
